<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- Generated Mar 5, 2013 11:44:43 PM by Hibernate Tools 3.2.1.GA -->
<hibernate-mapping>
    <class name="com.edu.hre.db.pojo.HreUser" table="hre_user" catalog="hrentry_db">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="identity" />
        </id>
        <property name="userRoleId" type="int">
            <column name="user_role_id" not-null="true" />
        </property>
        <property name="empNumber" type="java.lang.Integer">
            <column name="emp_number" />
        </property>
        <property name="userName" type="string">
            <column name="user_name" length="40" unique="true" />
        </property>
        <property name="userPassword" type="string">
            <column name="user_password" length="40" />
        </property>
        <property name="deleted" type="boolean">
            <column name="deleted" not-null="true" />
        </property>
        <property name="status" type="boolean">
            <column name="status" not-null="true" />
        </property>
        <property name="dateEntered" type="timestamp">
            <column name="date_entered" length="19" />
        </property>
        <property name="dateCreated" type="timestamp">
            <column name="date_created" length="19" />
        </property>
        <property name="dateModified" type="timestamp">
            <column name="date_modified" length="19" />
        </property>
        <property name="modifiedUserId" type="java.lang.Integer">
            <column name="modified_user_id" />
        </property>
        <property name="createdBy" type="java.lang.Integer">
            <column name="created_by" />
        </property>
    </class>
</hibernate-mapping>
